<div class="gap"></div>
<div class="gap"></div>
<section class="form-step1">
    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <div class="panel panel-primary">
                    <div class="panel-heading">
                        <h3 class="panel-title"><?php echo Yii::t('app', 'Manage') . ' ' . GxHtml::encode($model->label(2)); ?></h3>
                    </div>
                    <div class="panel-body">
                        <div class="col-lg-8">
                            <?php
                            $this->menu = array(
                                array('label' => Yii::t('app', 'Create') . ' ' . $model->label(), 'url' => array('create')),
                            );
                            ?>

                            <?php
                            $this->widget('zii.widgets.grid.CGridView', array(
                                'id' => 'aman-article-grid',
                                'dataProvider' => $model->search(),
                                'filter' => $model,
                                'columns' => array(
                                    'title',
//                                    array(
//                                        'name' => 'description',
//                                        'type' => 'raw',
//                                        'value' => 'html_entity_decode($data->description)',
//                                        'filter' => array('0' => Yii::t('app', 'Inactive'), '1' => Yii::t('app', 'Active')),
//                                    ),
                                    array(
                                        'class' => 'CButtonColumn',
                                    ),
                                ),
                            ));
                            ?>

                        </div>
                        <div class="col-lg-2"></div>


                    </div>
                </div>
            </div>
        </div>

    </div>
</section>
<div class="gap"></div>
<div class="gap"></div>